<!-- 通知 -->
<template>
  <div class="infor-item">
    <div class="infor-item-head">
      <h5>{{props.itemData.createTime}}</h5>
      <div class="infor-item-content">{{props.itemData.content}}</div>
      <!-- <div class="infor-item-btn">
        <span>查看详情</span><van-icon name="arrow" color="#aaa" />
      </div> -->
    </div>
  </div>
</template>
  <script setup>
import { reactive, toRefs } from "vue";

import { useRoute, useRouter } from "vue-router";

import icon_hand from "@/assets/image/icon_hand2.png";
const route = useRoute();

const state = reactive({
  labelsColor: [
    "#ff5e95",
    "#feac20",
    "#21e4e0",
    "#9670ff",
    "#ff7ca0",
    "#4ea9fc",
  ],
});

const props = defineProps({
  itemData: {
    type: Object,
    default: () => {},
  },
});

const { tabsList, labelsColor } = toRefs(state);
const router = useRouter();
</script>
  
<style lang="scss" scoped>
.infor-item {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  margin: 10px;
}
.infor-item-head {
  h5 {
    font-size: 16px;
    color: #ccc;
    font-weight: normal;
  }
}
.infor-item-content {
  margin: 10px 0;
}
.infor-item-btn {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e2e2;
  padding-top: 10px;
}
</style>
  